package com.wechat.entity;

import java.util.Date;

public class QuestionLib {
    /**
     *
     */
    private Integer id;

    /**
     * 试题题目
     */
    private String question;

    /**
     * 备选答案A
     */
    private String answersA;

    /**
     * 备选答案B
     */
    private String answersB;

    /**
     * 备选答案C
     */
    private String answersC;

    /**
     * 备选答案D
     */
    private String answersD;

    /**
     * 参考答案
     */
    private String trueAnswer;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 是否删除
     */
    private Short delFlag;

    /**
     * 题目类型 （0：单选1：多选）
     */
    private Integer type;

    /**
     *
     */
    public Integer getId() {
        return id;
    }

    /**
     *
     *
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 试题题目
     */
    public String getQuestion() {
        return question;
    }

    /**
     * 试题题目
     *
     * @param question
     */
    public void setQuestion(String question) {
        this.question = question == null ? null : question.trim();
    }

    /**
     * 备选答案A
     */
    public String getAnswersA() {
        return answersA;
    }

    /**
     * 备选答案A
     *
     * @param answersA
     */
    public void setAnswersA(String answersA) {
        this.answersA = answersA == null ? null : answersA.trim();
    }

    /**
     * 备选答案B
     */
    public String getAnswersB() {
        return answersB;
    }

    /**
     * 备选答案B
     *
     * @param answersB
     */
    public void setAnswersB(String answersB) {
        this.answersB = answersB == null ? null : answersB.trim();
    }

    /**
     * 备选答案C
     */
    public String getAnswersC() {
        return answersC;
    }

    /**
     * 备选答案C
     *
     * @param answersC
     */
    public void setAnswersC(String answersC) {
        this.answersC = answersC == null ? null : answersC.trim();
    }

    /**
     * 备选答案D
     */
    public String getAnswersD() {
        return answersD;
    }

    /**
     * 备选答案D
     *
     * @param answersD
     */
    public void setAnswersD(String answersD) {
        this.answersD = answersD == null ? null : answersD.trim();
    }

    /**
     * 参考答案
     */
    public String getTrueAnswer() {
        return trueAnswer;
    }

    /**
     * 参考答案
     *
     * @param trueAnswer
     */
    public void setTrueAnswer(String trueAnswer) {
        this.trueAnswer = trueAnswer == null ? null : trueAnswer.trim();
    }

    /**
     * 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 创建时间
     *
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 更新时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 更新时间
     *
     * @param updateTime
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 是否删除
     */
    public Short getDelFlag() {
        return delFlag;
    }

    /**
     * 是否删除
     *
     * @param delFlag
     */
    public void setDelFlag(Short delFlag) {
        this.delFlag = delFlag;
    }


    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}